#!/bin/bash
ps -aux | grep justniffer | awk '{ print $2; }' | while read line ; do kill $line ; done
justniffer -i eth0 -r -p "port 80 or port 8080" >> /web/shellicio.us/eth/tmp &
#sed -i '/https\|http/!d' /web/shellicio.us/ethimg.tmp
#sed -i 's/^/<img src=/' /web/shellicio.us/ethimg.tmp
#sed -i 's/$/>/' /web/shellicio.us/ethimg.tmp
#cat /web/shellicio.us/ethimg.tmp >> /web/shellicio.us/ethimg.php
